package set;

import java.util.HashSet;
import java.util.Set;

public class SetTester {
	public static void main(String[] args) {
		TestObject o1 = new TestObject("Test1");
		TestObject o2 = new TestObject("Test1");
		TestObject o3 = new TestObject("Test3");
		TestObject o4 = new TestObject("Test4");
		
		Set<TestObject> set = new HashSet<TestObject>();
		set.add(o1);
		set.add(o2);
		set.add(o3);
		set.add(o4);
		
		System.out.println(set);
		
	}
	

}

